package com.qf.ssm.service;

import com.github.pagehelper.PageInfo;
import com.qf.ssm.pojo.Categories;

import java.util.List;

public interface CategoriesService {

    void addCategories(Categories categories);

    PageInfo<Categories> findAllCategoriesByPage(int pageNum, int pageSize, String categoryname, String status);

    int deleteCategoriesByIds(Long[] ids);

    int updateCategories(Categories categories);

     List<Categories> getAll();
}
